package ictbk.ttmk51.grapro.app.utils;

public class EmailParser {

	private String email;

	public EmailParser(String email) {
		this.email = email;
	}

	public boolean isValid() {
		return email
				.matches("[a-z0-9\\-_]+(\\.[a-z0-9\\-_]+)*@[a-z0-9\\-_]+(\\.[a-z0-9\\-_]+)+");
	}
}
